package com.ydh.company.service;

import com.ydh.company.dto.ResultData;
import com.ydh.company.pojo.PurchaseOrderMain;
import com.ydh.company.pojo.WarehousingOutRecordMain;

public interface PurchaseOrderService {


    /**
     * 新增采购订单主表数据
     * @param purchaseOrderMain
     * @return
     */
    ResultData addPurchaseOrder(PurchaseOrderMain purchaseOrderMain);
    /**
     * 进入入库记录页面
     * @param purchaseOrderMain
     * @return
     */
    ResultData purchaseOrderWarehousingRecordPage(PurchaseOrderMain purchaseOrderMain);

    /**
     * 查询采购订单详情
     * @param purchaseOrderMain
     * @return
     */
    ResultData selectPurchaseOrderDetail(PurchaseOrderMain purchaseOrderMain);
    /**
     * 查询采购订单列表
     * @return
     */
    ResultData selectPurchaseOrderList();

    /**
     * 入库操作
     * @param warehousingOutRecordMain
     * @return
     */
    ResultData   purchaseOrderWarehousingById(WarehousingOutRecordMain warehousingOutRecordMain);
}
